package at.jku.cp.mir;

import java.util.LinkedList;
import java.util.List;
import java.util.SortedSet;

public class Document {

	private int tagCount;
	private List<Tag> tags;
	private String artist;

	public Document(String artist) {
		super();
		this.artist = artist;
		this.tags = new LinkedList<Tag>();
	}

	public void addTag(Tag tag) {
		this.tags.add(tag);
		this.tagCount += tag.getCount();
	}

	public String getArtist() {
		return artist;
	}

	public int getTagCount() {
		return tagCount;
	}

	public List<Tag> getTags() {
		return tags;
	}

}
